<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>日志分析</title>
    <link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}">
    <link rel="stylesheet" type="text/css" href="../../static/admin/css/reset.css">
    <link rel="stylesheet" type="text/css" href="../../static/admin/css/mains.css">
    <script type="text/javascript" src="../../static/common/js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="../../static/admin/js/jquery.form.min.js"></script>
    <script type="text/javascript" src="../../static/admin/tinymce/js/tinymce/tinymce.min.js"></script>
    <script type="text/javascript" src="../../static/admin/js/tinymce_setup.js"></script>
    <script src="../../static/admin/js/duty_modify.js"></script>
</head>

<body class="inframe_body">
<div class="breadcrub">用户管理 > 值班日历 > 值班修改</div>

<form class="release_form">
    <h3>值班修改</h3>
    <div class="form-group"><label>值班日期：</label>
        <input type="text" class="input_txt2" placeholder="点击选择日期" id="date" name="duty_date"
               value="{{ data.duty.duty_date }}">
    </div>

    <div class="form-group"><label>值班人员：</label>
        <input type="text" class="input_txt2" name="duty_name" value="{{ data.duty.duty_name }}">
    </div>

    <input type="hidden" name="duty_id" value="{{ data.duty.duty_id }}">
    <input type="hidden" name="page" value="{{ data.page }}">

    <div class="form-group indent-group line-top">
        <input type="submit" value="修 改" class="confirm">
        <input type="button" value="取 消" class="cancel" onclick="cancel()">
    </div>
    <div class="error_tip2">错误提示</div>
</form>

<script src="../../static/laydate/laydate.js"></script> <!-- 改成你的路径 -->
<script>
    //执行一个laydate实例
    laydate.render({
        elem: '#date' //指定元素
    });
</script>

<script>
    // 点击取消，返回上一页
    function cancel() {
        history.go(-1)
    }
</script>

</body>
</html>